package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWithdrawOrder;
import com.zb.vo.WithdrawOrderVo;

import java.util.List;

/**
 * <p>
 * 提现工单表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-05-27
 */
public interface ZjWithdrawOrderService extends IService<ZjWithdrawOrder> {

    /**
     * 保存提现工单
     * @param custAccId 商家ID
     * @param withdrawId 提现单ID
     * @param orderVos 关联工单
     */
    void save(Long custAccId, Long withdrawId, List<WithdrawOrderVo> orderVos);

    /**
     * 根据提现单ID获取提现工单
     * @param withdrawId 提现单ID
     * @return
     */
    List<ZjWithdrawOrder> getByWithdrawId(Long withdrawId);

    /**
     * 根据提现单ID获取提现工单
     * @param withdrawIds 提现单ID
     * @return
     */
    List<ZjWithdrawOrder> getByWithdrawIds(List<Long> withdrawIds);
}
